package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : zhen.xue
 * @date : 2021-04-18 23:00
 */
@ApiModel(value = "地址对象",description = "新增收货地址对象")
@Data
public class AddressAddrequest implements Serializable {


    private static final long serialVersionUID = 1211640251310292141L;

    /**
     * 是否默认收货地址：0->否；1->是
     */
    @ApiModelProperty(value = "是否默认收货地址 0->否；1->是",example = "0")
    @JsonProperty("default_status")
    private Integer defaultStatus;

    /**
     * 收发货人姓名
     */
    @ApiModelProperty(value = "收货人姓名",example = "李四")
    @JsonProperty("receive_name")
    private String receiveName;

    /**
     * 收货人电话
     */
    @ApiModelProperty(value = "电话",example = "13555555555")
    @JsonProperty("phone")
    private String phone;

    /**
     * 省/直辖市
     */
    @ApiModelProperty(value = "省/直辖市",example = "河北省")
    @JsonProperty("province")
    private String province;

    /**
     * 市
     */
    @ApiModelProperty(value = "市",example = "承德市")
    @JsonProperty("city")
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "区",example = "昌平区")
    @JsonProperty("region")
    private String region;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址",example = "运营中心老王隔壁一号")
    @JsonProperty("detail_address")
    private String detailAddress;
    @ApiModelProperty(value = "创建时间",example = "2020-11-12 00:11:01")
    @JsonProperty("create_time")
    private Date createTime;
}